package com.fingard.csp.service.simulate.impl;

import com.fingard.csp.domain.simulate.SimulateRule;
import com.fingard.csp.mapper.datasourcefirst.simulate.SimulateRuleMapper;
import com.fingard.csp.service.simulate.SimulateRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SimulateRuleServiceImpl implements SimulateRuleService {
    @Autowired
    public SimulateRuleMapper simulateRuleMapper;

    @Override
    public List<SimulateRule> findAll() {
        return simulateRuleMapper.findAll();
    }
}